package com.koron.ticket.workchange.ticketchangeinterrupt.mapper;


import com.koron.ticket.workchange.ticketchangeinterrupt.bean.TicketChangeInterrupt;
import com.koron.ticket.workchange.ticketchangeinterrupt.bean.TicketChangeInterruptQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (TicketChangeInterrupt)表数据库访问层
 *
 * @author 朱超
 * @since 2021-10-27 09:54:10
 */
public interface TicketChangeInterruptMapper {

    void insert(TicketChangeInterrupt ticketChangeInterrupt);
    
    void deleteById(@Param("id") String id);
    
    void update(TicketChangeInterrupt ticketChangeInterrupt);
    
    TicketChangeInterrupt getSingle(TicketChangeInterruptQuery ticketChangeInterruptQuery);

    List<TicketChangeInterrupt> getList(TicketChangeInterruptQuery ticketChangeInterruptQuery);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);
}
